package com.itlong.cloud.POJO.DTO.operate;

import com.itlong.cloud.POJO.DTO.BaseDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <des>
 *    有效期授权DTO
 * <des>
 *
 * @create Date 2021-08-23
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WwLyOperateUpdateEffectTimeDTO extends BaseDTO implements Serializable {

    private String appProjectId;    //应用项目关联id

    private String projectName;   //新项目名称

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date effectStartTime;   //有效期授权开始时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date effectEndTime;  //有效期授权结束时间

    private Integer authValidityPeriodSettype;  //有效期授权类型

    private String description;   //应用简介
}
